Fixed the issue where the actionbar was treated as an overlay
for API 18 and not as an overlay in API 21.