Using the UI library within a GameEngine2D application