Well that also happens in the original game since there's game controller script in there which is the same one from the main part so it's not a bug. Just don't press pause in the ending.