Fixing edge case for 4000px