Fixes runtime that stops ghosts from ghostwriting...yay 4 month old bugs

Fixes #4501