Fixed bug with screen going darker and darker