keyboard visible callback now triggered after preview is focused; fixes #147