Various fixes to dynamic text rendering

Dynamic text was rendering with the wrong colour and cut-off at the top.