Fixes z-index on memory history CSS