Prevent movement too far on non webkit