Fix the hotbar in webclient

If this issue turns out to be a BYOND bug, this change can be reverted
when the bug is fixed.