Darkness bug fix