I am trying to create an "my-app" element that contains core-header-panel. Seems like a pretty common thing people will want to do for a SPA.
My index.html:
<!DOCTYPE html>
<html>
<head>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="elements/my-app.html">
</head>
<body fullbleed layout vertical unresolved>
<my-app></my-app>
</body>
</html>
with my-app.html:
<link rel="import" href="/bower_components/polymer/polymer.html">
<link rel="import" href="/bower_components/core-toolbar/core-toolbar.html">
<link rel="import" href="/bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="/bower_components/core-header-panel/core-header-panel.html">
<polymer-element name="my-app">
<template>
<core-header-panel flex>
<core-toolbar>
<div>Hello World!</div>
</core-toolbar>
</core-header-panel>
</template>
<script src="my-app.js"></script>
</polymer-element>
but all I seem to get is:

any ideas?
EDIT: I have changed my code to be exactly the same as the first example on the Polymer docs (https://www.polymer-project.org/docs/elements/core-elements.html#core-header-panel) except the core-header-panel is within another element rather than directly inside the body.
EDIT2: If you disable postion: relative on the core-header-panel then it looks better: 