Here’s something weird that I encountered today. I’ve actually had this happen to me before as well, but didn’t pay much attention to it.
I’m using ATOM v1.0.0 on a Linux Debian Jessie machine. I have code folding level 2.
EDIT - I suggest downloading the file, video clarity is pretty bad otherwise.