Added matrix code back for scaling to resolution
Added "that cheat" back in