Fixes
- The marketplace UI would open when clicking on a marketplace building and close directly afterwards.
- When opening the marketplace via the empire UI toggle after clicking on a marketplace building, the UI was broken and could crash the game.
- The marketplace UI buy button was always interactable even though no resources were selected for buying.
- The player gold available was sometimes not updated when the UI was opened the first time.
