Fix enabling and disabling move buttons