Fix rendering orientation