I think I found the cause of the issue that I was having. At the beginning of my grid display function I created a roSlideShow. I didn't show it or do anything else with it, I just created it (I don't remember why, I think I was testing out the type() function). Once I removed this code I no longer had the issue.