Handle large errors in marker placement.
Closes #1485.