fix bug 941490 - Ensure box sizes and positions stay the same at all dimensions

https://bugzilla.mozilla.org/show_bug.cgi?id=941490