fixed bug when resizing clips
Prepared for snap implementation