Fixed render targets on WP8

Thanks to @tomspilman for the tip.

Fixes #1320