fix custom controls on ipad