fix for slide image being cut off. needs testing.
Merge remote-tracking branch 'github/master' into github