Attempts to fix an issue with error positioning.