Hi Andrius,
I was having that issue with my Flatiron template as well and your workaround fixed it for me. Thanks so much!
I have a support ticket open for this issue, so Squarespace is aware of it. They said that since Flatiron is an older template, it's not a priority, but hopefully they'll get around to fixing it one of these days.
cheers,
Ben