Bug with array length for different resolutions.