Bug fixes


Fixed a few small game breaking bugs and an issue with the inspection window flickering.