Fixed Home XYZ Button to work correctly