Fix bugs.

Bug with showing leave button even when not joined to the room.
Bug with drawing the canvas before images are loaded.
Bug with show prev button causing problems with the current trick.
Bug with incorrectly showing the overall game scores.