Fixed typo
Check visible flag of graphics