Fix monitor crash similar to Fire IE issue 114.