* Check if menu is open for spellbook mouse listener, use MiscUtils.clamp * Remove copied methods to just use them, save 31 bits of memory