Fix rectObj/shapeObj draw function rendering when setting text property in mapscript (closes #4577)