[PATCH] Console rotation fixes