fix canvas color for ios