fixed gap between middlegroundtextures and added comment to the code