Prevent default behavior when entering chat