Bug resuming after pause