Applying correct image padding function to SS3 #5416