Fixed stretching foreground image issue