Fixed issue with Vim mode in frontend