Optimized drawWindow some more with hackish pixel drawing