Fixed label color and added checkBounds for ball group