Include SDL_mouse.h for mouse button codes.
Fix attaching view to button.