Bugfix: Fixed crash after going from game view to any other view.