Added check for elevation

So only events which are visible are posted.