Editor: Changed the snapping code for my own peace of mind :P