fix ghost exit bug

on second level, all ghosts would leave box right away