Fixed bug on ban and new window now shows up in the right spot

fix #16