Fix for Issue 421: Range selector disappear after resize