Implement menuHandleInitialHash option