Fixed error in RenderWindow constructor (bad base constructor called)