Fixed battle bug with opening in new frame