Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 3975)
+++ /CKEditor/trunk/CHANGES.html	(revision 3976)
@@ -186,5 +186,6 @@
 		<li><a href="http://dev.fckeditor.net/ticket/4087">#4087</a> : [Firefox]Fixed extra blocks created on create list when full document selected.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/4097">#4097</a> : No undo/redo support for fontColor and backgroundColor buttons.</li>
-		<li><a href="http://dev.fckeditor.net/ticket/4100">#4100</a> : [IE]Fixed Navigation keyset has no effect on panel.</li> 
+		<li><a href="http://dev.fckeditor.net/ticket/4100">#4100</a> : [IE]Fixed Navigation keyset has no effect on panel.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4084">#4084</a> : In Firefox image dialog using Kama skin was sticked to left viewport border.</li> 
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3975)
+++ /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3976)
@@ -648,5 +648,7 @@
 					var dialogSize = this.getSize();
 
-					this.move( ( viewSize.width - dialogSize.width ) / 2, ( viewSize.height - dialogSize.height ) / 2 );
+					// We're using definition size for initial position because of
+					// offten corrupted data in offsetWidth at this point. (#4084)
+					this.move( ( viewSize.width - definition.minWidth ) / 2, ( viewSize.height - dialogSize.height ) / 2 );
 
 					this.parts.dialog.setStyle( 'visibility', '' );
