Fixed refresh bug

added draw map to on key up to fix bug where canvas was not refreshing