Fix aspect canvas size for Safari and Chrome