Made overlay window appear below cursor
Changed some behaviour of overlay window