Fixed a small bug that was causing some drawings to not be saved before refresh.