Change rectangle movement