Removed unnecessary param and onHide hook from drawDeffered method