Partial fix to DrawTitle code