Make fog and correct sides behavior