The top of the pipe should be flush with the top of the seal. Pulling it up higher only creates a place for goo to build up.
Your description of the looseness gives me a little cause for concern. I hope the trap is cemented and not threaded.
I would replace the gasket, tighten the compression ring down good and leak test it.