ScrollPane component

I am using a gif in the scrollpane component, when I scroll to the right it seems to chop off the end of the gif.
Is the a limit as to how wide the gif can be?

Thanks for your help.

John