Resizes the viewing window
Fixes stability issues by adding timer to pngStream