Made the game render through a view