Fix for canvas on iPad.