Debug drawing issues in GUI system