See my post above about the e.preventDefault(); thing
Yeah. That’s because once you click on the object within the body it’s behaving like you clicked the body. It would be best to change this one to a modal bg or something or to use a close button. Take a look at this thread: