fixing Snap menu behavior