Fixed wrong init value and margins in application window