Fix bug that prevented draw detection