Fixes to ipad rendering