only look at event button for button events

button may be uninitialized for non-button events.  I'm not sure what type of button events are relevant here (SDL_MOUSEBUTTONUP?)