Revert "fix hidden check to use also alpha value"

This reverts commit e29b3b3a579c29db630dbf39bc535c780982927c.