Implemented basic scaling in BasicViewport.