fix resize when paused

fixes #33