Fixed render targets on WP8

Thanks to @tomspilman for the tip.

Fixes #1320

Part of #1109