fix annotations showing up in document view mode