fix histogram disappearing, use DrawCopy()
stop saving empty canvas