Fix some crashes when using weak pointers for marks