another way to set window size, not sure which is best
fix broken image by using transparent pixel