Rename showPosition to isVisible.