Is there a way to beat the last level?
This is how I was doing it in my test playthroughs. Sometimes you can jump through the brown door before it closes and go straight up through the open pink one at the top but the timing on that is pretty tight, so instead you can just spam the 'R' key to jump back to your ghost before it moves :)
(Sorry about the dark last screenshot I couldn't get the timing of finishing the level and taking the screencap right :D)