Added correct GPU texture size check