fixed minor issues with keyboard opening menu