Fixed draw functions to clear old image