Replaced drawRectFill and drawTextN with nanovg calls.