restore pre-snap window size without flicker

I have created a 3x3 grid of snap areas. I have then created keyboard shortcuts for each of them. If I use the shortcut to snap to SnapArea A and then drag the window it resizes to the original size (this is good). However, if I use the shortcut to snap to SnapArea A, then use ANOTHER shortcut to snap to SnapArea B, then drag the window it resizes to the SnapArea A size, NOT the original size.

I have added a "Save current window layout" as the first Item in the two hotkeys. This solves the problem, but there is a nasty flicker as the window is snapped to the new location.

Any Ideas how I can eliminate the flicker?