Added hidesprites option