Added an event for changing fog distance