Fixed problem with float images and qcoreapplication windows problem