orient canvas correctly