should fix another NPE in getPositionForView