fix(jqmPopup): fix error with popup out of bounds