Fix odd-sized viewport