WP8 background and foreground color fix

Workaround for the background and foreground color not working problem in WP8.