Fixed a bug which caused the game to crash because of certain entities using the ClickableComponent.