Fixed Legal Move bug