Fixed bug where max brightness was halved

Max brightness was set to 127, when it should have been 255