Fixed small viewport bug