Fixes firefox rendering issues