Add of a check if alpha value is negative in the debug mode