fix canvas scaling bug in ie10