Closing issues depends on browser window width

Here is an issue created with the side panel open:

It correctly is closed (issue count goes down):

Here is an issue in a narrower window with the side panel closed:

After closing it:

the issue still remains when the side panel is opened:

This is the version of gitlab:

Screenshot_2018-02-13_09-32-13

browser:

Screenshot_2018-02-13_09-31-54

and OS:

Screenshot_2018-02-13_09-39-28[