Removed a bug from DrawManager.cpp