Fixed an issue which caused incorrect rendering in Chrome