Fixes crashing in BlockSelectScreen.

Should fix issue #141.

How to reproduce the bug:
Basically button mash any keys and press the left mouse button while in BlockSelectScreen.