bug fix state change with colored quad