fix rendering on iphone 5