Fix show/hide animations