Add workaround for iOS canvas scaling issue