Orientation bug fixed