Canvas resizes on portrait/landscape orientation