working resize of backbuffer