Adding lines to force iOS hardware acceleration