Protect against exceptions from getCursorBufferPosition

When there are no cursors, this throws. Though in that case it looks like both
these views can just return early since they have nothing to render.

Test Plan:
Crossed fingers