Fix #4

Fixes frozen issue caused by not resetting preview surface on resume.