FS#35 > fixing repainting only dirty areas for mac and windows