Fix a bug may cause error in some situations.
Fix a bug may cause error in some situations.

Signed-off-by: RamWire <b2355141b972332d4a1c9f2e948114f9044a272d@zhaofuyang.local>

RamWire/NinaPagerView,RamWire/NinaPagerView