Viewport bug fixed