Picture resize fix, CONSIDER REVERTING IT