Fixed getResolution();