Fixes pixel loading problem