Fixed the error

was using the wrong vertex array for the picture data.