border invincibility bug fix