Solved issues with orientation

Sometimes camera's orientation was wrong before first orientation
change. Now should be fine.