Fixed Firefox bug

Fixed issue that could cause the "top" property of an element to get
reset to 0 in Firefox when a 3D transform was applied and the "top"
property had been defined in a class (or anywhere other than the
element.style object).