Fixing scope issue with between draw