Fixed closeonbackground, now allows scrolling and removed visual glitch