Fixed rendering issues in firefox and ie