Set fixed resolution to frame buffer in window wrapper for python.