Enable or disable resize & move for objects in right conditions