Fixed selecting and moving. Added scaling.