Fixed GUI draw bug