set window sizes to 0 before initializing