Make it work on fake windows