Fix editor draw error