fix off-positioned layout in firefox
Merge pull request #36 from jackfengibm/fix_off_positioned_layout_in_ff

fix off-positioned layout in firefox