Add constraints on plane moving