added threshold for synching shapes position, does not work with hook at the moment. Just comment out if(iswithinThreshold()) in Synchronizer::updateShapes to enable hook as before