Does it jump to the end or current layer. Anyway, I think I’ve come across this before. Super annoying
Layer panel problem from a while ago:
Something more recent, related maybe: