Fixed bug that caused NaN to show up, also use the same rng in mana source as in game
Things use the dimensions specified in the room struct
got zooming and focus working halfway decently