You need to add something to stop this as boy is it annoying. I believe one exists for XF but it may have been for the beta and not updated I can code one for you myself if you'd like.