fix rendering issues in iOS with aqua