Correctly drawing the button and identying clicks