Collision between character and foreground

It's there, but it's not pretty. Will try to think of nicer ways to
implement this.