Shaking only works if there is enough area in the layout around your "ScrollTo" sprite to display on the screen. If your WindowSize equals your LayoutSize, or you are too near an edge, shake can't work, as there is no image to display outside of the edges. I wrote alternate behaviours that let you work around this by giving an artificial edge, so that there is extra room to shake onto the screen.