Fixed margins not being taken into account when determining width or height.
WIP on prediction text trimming converter.