Fixed bug with painter color.