Fixing a bug that prevents selection of the outermost blocks