Bugfix in mark-compact mode