Fixes for reported client side errors

On resolution change, the votemenu and the chatbox would throw errors.