proper drawing of button