In 12.04, the screen never went to sleep while watching videos in XBMC. However after upgrading to 12.10 and changing no settings, it does.

Is there any way I can prevent the screen automatically turning off while playing a video in XBMC, without actually disabling the screen from turning off at other times?

Ideally, is there a XBMC specific setting for this? Was this a feature of XBMC that is now somehow broken in 12.10 or has this changed due to some other non-XBMC change within Ubuntu?