Fixes shadows appearing inside forms on iOS.