Fixes #286 - fix navigation flash during resize.