added event-based input handling, made bucket follow mouse
fixing conflict with input