Fix gallery state