improve obstacles draw