Fixing bug that prevented stuff from being drawn on click