Add some NULL-checks to WidgetScrollBox

Fixes #1037
Cache dragged MenuManager icons in a Sprite

Closes #978
Add round() replacement for MSVC
Merge pull request #1038 from dorkster/fixes

Fix #978 and #1037