WSS: Add missing cast to aspect ratio calculation

This is C-level stuff, we shouldn't need to do this in C#...