found a weird bug discovered by resizing window... fixed! FTW