Fix bug with move box