Add assert for when we try to create PlatformWindow in Paint
Add assert for when we try to create PlatformWindow in Paint

thennequin/ImWindow,thennequin/ImWindow,RobertoMalatesta/ImWindow,RobertoMalatesta/ImWindow,thennequin/ImWindow