Fixed terrain display bug in FF.