Added scale locking stuff