Fixed logic bug with positioning the user popout