bug fix: InvalidateRect is not Threadsave
Authored by: ruckert 2012-05-11
Parent: [r320]
Child: [r322]